home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1915 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  990 b 

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 62 72 69 64 67 |Path: ne|ws.bridg|
|00000010| 65 2e 6e 65 74 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |e.net!ne|ws.From:|
|00000020| 20 44 61 76 69 64 20 42 | 79 72 64 65 6e 20 3c 31 | David B|yrden <1|
|00000030| 30 30 31 30 31 2e 32 35 | 34 37 40 63 6f 6d 70 75 |00101.25|47@compu|
|00000040| 73 65 72 76 65 2e 63 6f | 6d 3e 0a 4e 65 77 73 67 |serve.co|m>.Newsg|
|00000050| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 6c 61 6e 67 |roups: c|omp.lang|
|00000060| 2e 63 2b 2b 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |.c++.Sub|ject: Re|
|00000070| 3a 20 63 6f 6e 73 74 20 | 6d 65 6d 62 65 72 20 66 |: const |member f|
|00000080| 75 6e 63 74 69 6f 6e 73 | 0a 44 61 74 65 3a 20 31 |unctions|.Date: 1|
|00000090| 34 20 4a 61 6e 20 31 39 | 39 36 20 30 34 3a 32 38 |4 Jan 19|96 04:28|
|000000a0| 3a 34 37 20 47 4d 54 0a | 4f 72 67 61 6e 69 7a 61 |:47 GMT.|Organiza|
|000000b0| 74 69 6f 6e 3a 20 73 65 | 6c 66 2d 65 6d 70 6c 6f |tion: se|lf-emplo|
|000000c0| 79 65 64 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |yed.Mess|age-ID: |
|000000d0| 3c 34 64 61 30 70 76 24 | 36 76 33 40 6e 65 77 73 |<4da0pv$|6v3@news|
|000000e0| 2e 62 72 69 64 67 65 2e | 6e 65 74 3e 0a 52 65 66 |.bridge.|net>.Ref|
|000000f0| 65 72 65 6e 63 65 73 3a | 20 3c 34 64 38 64 38 66 |erences:| <4d8d8f|
|00000100| 24 62 33 30 40 6f 7a 6e | 65 74 30 37 2e 6f 7a 65 |$b30@ozn|et07.oze|
|00000110| 6d 61 69 6c 2e 63 6f 6d | 2e 61 75 3e 0a 4e 4e 54 |mail.com|.au>.NNT|
|00000120| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000130| 70 70 70 2d 6d 69 61 32 | 2d 39 35 2e 62 72 69 64 |ppp-mia2|-95.brid|
|00000140| 67 65 2e 6e 65 74 0a 4d | 69 6d 65 2d 56 65 72 73 |ge.net.M|ime-Vers|
|00000150| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000160| 2d 54 79 70 65 3a 20 74 | 65 78 74 2f 70 6c 61 69 |-Type: t|ext/plai|
|00000170| 6e 3b 20 63 68 61 72 73 | 65 74 3d 75 73 2d 61 73 |n; chars|et=us-as|
|00000180| 63 69 69 0a 43 6f 6e 74 | 65 6e 74 2d 54 72 61 6e |cii.Cont|ent-Tran|
|00000190| 73 66 65 72 2d 45 6e 63 | 6f 64 69 6e 67 3a 20 37 |sfer-Enc|oding: 7|
|000001a0| 62 69 74 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |bit.X-Ma|iler: Mo|
|000001b0| 7a 69 6c 6c 61 20 31 2e | 31 4e 20 28 57 69 6e 64 |zilla 1.|1N (Wind|
|000001c0| 6f 77 73 3b 20 49 3b 20 | 31 36 62 69 74 29 0a 54 |ows; I; |16bit).T|
|000001d0| 6f 3a 20 74 65 64 6a 6f | 6e 65 73 40 76 6f 79 61 |o: tedjo|nes@voya|
|000001e0| 67 65 72 2e 63 6f 2e 6e | 7a 0a 0a 0a 4f 6c 69 76 |ger.co.n|z...Oliv|
|000001f0| 65 72 3b 0a 0a 41 20 6d | 65 6d 62 65 72 20 66 75 |er;..A m|ember fu|
|00000200| 6e 63 74 69 6f 6e 20 6d | 61 72 6b 65 64 20 27 63 |nction m|arked 'c|
|00000210| 6f 6e 73 74 27 20 77 69 | 6c 6c 20 6e 6f 74 20 6d |onst' wi|ll not m|
|00000220| 6f 64 69 66 79 20 61 6e | 79 20 6f 66 20 74 68 65 |odify an|y of the|
|00000230| 0a 64 61 74 61 20 6d 65 | 6d 62 65 72 73 20 6f 66 |.data me|mbers of|
|00000240| 20 69 74 73 20 6f 62 6a | 65 63 74 3b 20 74 68 69 | its obj|ect; thi|
|00000250| 73 20 69 73 20 65 6e 66 | 6f 72 63 65 64 20 62 79 |s is enf|orced by|
|00000260| 20 43 2b 2b 2e 20 54 68 | 69 73 20 0a 69 6e 63 6c | C++. Th|is .incl|
|00000270| 75 64 65 73 20 6e 6f 74 | 20 63 61 6c 6c 69 6e 67 |udes not| calling|
|00000280| 20 6e 6f 6e 2d 63 6f 6e | 73 74 20 6d 65 6d 62 65 | non-con|st membe|
|00000290| 72 20 66 75 6e 63 74 69 | 6f 6e 73 2e 0a 0a 54 68 |r functi|ons...Th|
|000002a0| 65 20 69 64 65 61 20 69 | 73 20 74 68 61 74 20 77 |e idea i|s that w|
|000002b0| 68 65 6e 20 79 6f 75 20 | 64 65 63 6c 61 72 65 20 |hen you |declare |
|000002c0| 61 20 63 6c 61 73 73 20 | 6f 62 6a 65 63 74 20 63 |a class |object c|
|000002d0| 6f 6e 73 74 2c 20 0a 79 | 6f 75 20 77 69 6c 6c 20 |onst, .y|ou will |
|000002e0| 74 72 75 6c 79 20 62 65 | 20 75 6e 61 62 6c 65 20 |truly be| unable |
|000002f0| 74 6f 20 6d 6f 64 69 66 | 79 20 69 74 2e 20 48 6f |to modif|y it. Ho|
|00000300| 77 65 76 65 72 2c 20 74 | 68 65 20 0a 63 6f 6d 70 |wever, t|he .comp|
|00000310| 69 6c 65 72 20 63 61 6e | 6e 6f 74 20 70 72 65 76 |iler can|not prev|
|00000320| 65 6e 74 20 79 6f 75 20 | 6d 6f 64 69 66 79 69 6e |ent you |modifyin|
|00000330| 67 20 6f 74 68 65 72 20 | 72 65 73 6f 75 72 63 65 |g other |resource|
|00000340| 73 20 74 68 61 74 20 74 | 68 65 0a 63 6c 61 73 73 |s that t|he.class|
|00000350| 20 6f 62 6a 65 63 74 20 | 6f 77 6e 73 2c 20 73 75 | object |owns, su|
|00000360| 63 68 20 61 73 20 68 65 | 61 70 20 6d 65 6d 6f 72 |ch as he|ap memor|
|00000370| 79 2c 20 61 6e 64 20 73 | 6f 20 79 6f 75 20 6e 65 |y, and s|o you ne|
|00000380| 65 64 0a 74 6f 20 70 72 | 6f 67 72 61 6d 20 63 61 |ed.to pr|ogram ca|
|00000390| 72 65 66 75 6c 6c 79 20 | 69 6e 20 6f 72 64 65 72 |refully |in order|
|000003a0| 20 74 6f 20 64 65 73 69 | 67 6e 20 63 6c 61 73 65 | to desi|gn clase|
|000003b0| 73 20 77 68 69 63 68 20 | 61 72 65 0a 74 72 75 6c |s which |are.trul|
|000003c0| 79 20 22 63 6f 6e 73 74 | 2d 63 6f 72 65 63 74 22 |y "const|-corect"|
|000003d0| 2e 0a 0a 20 20 20 44 61 | 76 69 64 0a 0a 0a |... Da|vid... |
+--------+-------------------------+-------------------------+--------+--------+